package team.seekers.skill.service;

import org.springframework.transaction.annotation.Transactional;
import team.seekers.skill.entity.dao.SectionVideo;
import com.baomidou.mybatisplus.extension.service.IService;
import team.seekers.skill.entity.vo.admin.update.AdminVideoUpdateVO;

import java.util.List;

/**
 * <p>
 * 这一节的视频链接 服务类
 * </p>
 *
 * @author hbc
 * @since 2021-02-28
 */
public interface SectionVideoService extends IService<SectionVideo> {

    @Transactional(rollbackFor=Exception.class)
    boolean removeBySectionId(String sectionId);

    List<AdminVideoUpdateVO> listAdminVideoUpdateVOBySectionId(String id);
}
